package com.weiyuwqj.api.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "bus_asset_package_invest")
public class BusAssetPackageInvest implements Serializable {
    /**
     * 资产打包投资id
     */
    @Id
    private Integer id;

    /**
     * 包id
     */
    @Column(name = "package_plan_id")
    private Integer packagePlanId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 投资金额
     */
    @Column(name = "invest_amount")
    private BigDecimal investAmount;

    private BigDecimal interest;

    /**
     * 投资类型
     */
    private Integer investType;

    private Integer status;

    /**
     * 添加时间
     */
    private Date addtime;

    /**
     * 添加ip
     */
    private String addip;

    private String freezeOrderNo;

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }

    public String getFreezeOrderNo() {
        return freezeOrderNo;
    }

    public void setFreezeOrderNo(String freezeOrderNo) {
        this.freezeOrderNo = freezeOrderNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取资产打包投资id
     *
     * @return id - 资产打包投资id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置资产打包投资id
     *
     * @param id 资产打包投资id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取包id
     *
     * @return package_plan_id - 包id
     */
    public Integer getPackagePlanId() {
        return packagePlanId;
    }

    /**
     * 设置包id
     *
     * @param packagePlanId 包id
     */
    public void setPackagePlanId(Integer packagePlanId) {
        this.packagePlanId = packagePlanId;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取投资金额
     *
     * @return invest_amount - 投资金额
     */
    public BigDecimal getInvestAmount() {
        return investAmount;
    }

    /**
     * 设置投资金额
     *
     * @param investAmount 投资金额
     */
    public void setInvestAmount(BigDecimal investAmount) {
        this.investAmount = investAmount;
    }

    /**
     * 获取添加时间
     *
     * @return addtime - 添加时间
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置添加时间
     *
     * @param addtime 添加时间
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    /**
     * 获取添加ip
     *
     * @return addip - 添加ip
     */
    public String getAddip() {
        return addip;
    }

    /**
     * 设置添加ip
     *
     * @param addip 添加ip
     */
    public void setAddip(String addip) {
        this.addip = addip;
    }


    public Integer getInvestType() {
        return investType;
    }

    public void setInvestType(Integer investType) {
        this.investType = investType;
    }
}